package com.suzhe.ymall.common.utils;

/**
 * @author suzhe
 * @date 2019/6/8
 */
public class RedisKeys {

    /**
     * 系统服务 token key
     * @param key
     * @return
     */
    public static String getTokenKeyForSys(String key){
        return "sys:token:" + key;
    }

    public static String getTokenKeyForApp(String key){
        return "app:token:" + key;
    }

    public static String getProductDetailKey(Integer key){
        return "product:detail:" + key;
    }
}
